package com.neteast.androidclient.newscenter.client;

import java.io.IOException;
import com.neteast.androidclient.newscenter.domain.BootStrapError;
import com.neteast.androidclient.newscenter.domain.BootStrapResponse;
import com.neteast.androidclient.newscenter.domain.InfoReceive;
import com.neteast.androidclient.newscenter.domain.LoginError;
import com.neteast.androidclient.newscenter.domain.LoginResponse;

public interface IOHandler {
	
	void onBootStrapError(BootStrapError bootStrapError) throws IOException;
	void onBootStrapSuccess(BootStrapResponse bootStrapResponse) throws IOException;
	void onLoginError(LoginError loginError) throws IOException;
	void onLoginSuccess(LoginResponse loginResponse);
	void onReceiveInfo(InfoReceive infoReceive) throws IOException;
	void onReBootStrap() throws IOException;
}
